module.exports = [
  {
    url: "/sys/app/add",
    type: "post",
    response: config => {
      return {
        msg: "添加成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 17:18:54"
      };
    }
  },
  {
    url: "/sys/app/del",
    type: "post",
    response: config => {
      return {
        msg: "删除成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 16:43:50"
      };
    }
  },
  {
    url: "/sys/app/upd",
    type: "post",
    response: config => {
      return {
        msg: "修改成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 17:18:54"
      };
    }
  },
  {
    url: "/sys/app/get",
    type: "post",
    response: config => {
      return {
        msg: "获取单个应用的信息",
        code: 200,
        data: {
          id: 1,
          uid: "",
          name: "",
          userUid: "",
          username: "",
          appId: "",
          ipWhiteList: "",
          actionList: [],
          remark: "",
          created: "",
          updated: ""
        },
        success: true,
        time: "2021-03-12 09:38:16"
      };
    }
  },
  {
    url: "/sys/app/page",
    type: "post",
    response: config => {
      return {
        msg: "获取接口的分页数据",
        code: 200,
        data: {
          pageNumber: 1,
          list: [
            {
              id: 1,
              uid: "",
              name: "",
              userUid: "",
              username: "",
              appId: "",
              ipWhiteList: "",
              actionList: "",
              remark: "",
              created: "",
              updated: ""
            }
          ],
          pageSize: 15,
          totalPage: 3,
          totalRow: 35,
          firstPage: true,
          lastPage: false
        },
        success: true,
        time: "2021-03-10 17:12:28"
      };
    }
  }
];
